package com.testword.entity.po;

import java.io.Serializable;

/**
 * 
 */
public class Record implements Serializable {
	/**
	 * 学号
	 */
	private String studentId;

	/**
	 * 词汇量
	 */
	private Integer vocabulary;

	/**
	 * 测试用时
	 */
	private Integer duration;

	public void setStudentId(String studentId) {
		this.studentId = studentId;
	}

	public String getStudentId() {
		return this.studentId;
	}

	public void setVocabulary(Integer vocabulary) {
		this.vocabulary = vocabulary;
	}

	public Integer getVocabulary() {
		return this.vocabulary;
	}

	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Integer getDuration() {
		return this.duration;
	}

	@Override
	public String toString() {
		return "学号:" + (studentId == null ? " 空 " : studentId) + ",词汇量:" + (vocabulary == null ? " 空 " : vocabulary) + ",测试用时:" + (duration == null ? " 空 " : duration);
	}
}